package com.bluegalaxy.sitescore.mapper;

import com.bluegalaxy.sitescore.entity.TbSiteSource;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * TbSiteSource 表数据库控制层接口
 *
 */
public interface TbSiteSourceMapper extends AutoMapper<TbSiteSource> {

    List<TbSiteSource> SelectSiteSourceBySiteId(@Param("siteId") int siteId);

    boolean insertSiteSource(TbSiteSource tbSiteSource);

    boolean updateSourceById(TbSiteSource tbSiteSource);

    boolean delSourceById(int id);

    List<String> getQuantity1(int sid);
}